<script>
    $(function() {
        $( "#datepicker" ).datepicker();
    });
    </script>
<div class="info_box">
    <form>
        <div class="info">
            <span class="label1">用户名</span><input type="text" ng-model="user_edit.username" class="style1">
        </div>
        <div class="info">
            <span class="label1">头像</span><img ngf-src="files[0]" ngf-default-src="'/thumb.jpg'" ngf-accept="'image/*'"style="height:100%;width:5%">
            <input type="button"  ngf-select ng-model="files"  class="btn btn-default"
                value="上传图片" style="width:75%">
        </div>
        <div class="info">
            <span class="label1">姓名</span> <input type="text" ng-model="user_edit.real_name" class="style1">
        </div>
        <div class="info">
            <span class="label1">学号</span><input type="text" ng-model="user_edit.stu_num"class="style1">
        </div>
        <div class="info">
            <span class="label1">性别</span>
            <input type="radio" name="sex" value="1" ng-model="user_edit.sex"/>男
            <input type="radio" name="sex" value="0"  ng-model="user_edit.sex"/>女</p>
        </div>
        <div class="info">
            <span class="label1">生日</span><input type="text" id="datepicker" size="30" ng-model="user_edit.birth" class="style1">
        </div>
        <div class="info">
            <span class="label1">爱好</span><input type="text" ng-model="user_edit.hobby"class="style1">
        </div>
        <div class="info">
            <span class="label1">电话</span> <input type="text" ng-model="user_edit.phone"class="style1">
        </div>
        <div class="info">
            <span class="label1">老乡会</span><input type="text" ng-model="user_edit.fellow_id"class="style1">
        </div>
        <div class="info">
            <span class="label1">专业</span><input type="text" ng-model="user_edit.major_id"class="style1">
        </div>
        <div style="padding: 20px 50px;">
            <input type="button" class="btn btn-primary" value="提交资料" ng-click="userinfo_edit()">
            <input type="reset" class="btn btn-primary" value="重置资料" style="margin-left: 100px">
        </div>
    </form>
</div>